namespace ASPNET.StarterKit.IssueTracker.BusinessLogicLayer
{
    using System;

    public class QueryField
    {
        private string _FriendlyName;
        private string _Name;

        public QueryField(string friendlyName, string name)
        {
            this._FriendlyName = friendlyName;
            this._Name = name;
        }

        public string FriendlyName
        {
            get
            {
                if ((this._FriendlyName == null) || (this._FriendlyName.Length == 0))
                {
                    return string.Empty;
                }
                return this._FriendlyName;
            }
        }

        public string Name
        {
            get
            {
                if ((this._Name == null) || (this._Name.Length == 0))
                {
                    return string.Empty;
                }
                return this._Name;
            }
            set
            {
                this._Name = value;
            }
        }
    }
}

